package cn.maxwell.product.service;

import cn.maxwell.basic.service.IBaseService;
import cn.maxwell.product.domain.Product;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface IProductService extends IBaseService<Product> {
    /**
     * 服务上架
     * @param ids
     * @param request
     */
    void onsale(List<Long> ids, HttpServletRequest request);

    /**
     * 服务下架
     * @param ids
     * @param request
     */
    void offsale(List<Long> ids, HttpServletRequest request);
}
